package com.cfets.annualAssessment.entity;

import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.persistence.Table;
import javax.persistence.Transient;
/**
 * Created by ShenYiChou on 2017/1/19.
 */
@Data
@Table(name = "t_question_all")
public class Question extends BaseEntity {
    @NotEmpty(message = "题目不能为空")
    private String question;
    @NotEmpty(message = "正确选项不能为空")
    private String answer;
    private String A_option;
    private String B_option;
    private String C_option;
    private String D_option;
    private String E_option;
    private String F_option;
    private String G_option;
    private String H_option;

    @Transient
    private String option_state;
//
//    @Transient
//    private String time;

}
